Next | Prev | Up | Top | Contents | Index
Flushing the Write Buffer
You may, in some cases, want to call flushbus() to ensure that any writes in the write buffer have actually been flushed to the system bus. This is sometimes necessary when a device requires delays between PIOs, particularly between a write and a read, since they might otherwise arrive at the device back-to-back.
For example, you write to the device, delay, write to the device, delay. These writes may be buffered regardless of the delay and still be sent to the device in quick succession.
Next | Prev | Up | Top | Contents | Index